ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel.Validation Namespace / ValidationUtils Class / ValidateInteger Method / ValidateInteger(Nullable<Int32>,Int32,Int32) Method
An System.Int32 value to validate.
An System.Int32 value representing the minimum integer allowed.
An System.Int32 value representing the maximum integer allowed.

ValidateInteger(Nullable<Int32>,Int32,Int32) Method
Validates a nullable integer value to make sure it is valid and is within the specified min/max range limit.
Syntax
'Declaration
 
Public Overloads Shared Sub ValidateInteger( _
   ByVal value As Nullable(Of Integer), _
   ByVal min As Integer, _
   ByVal max As Integer _
) 
 

Parameters

value
An System.Int32 value to validate.
min
An System.Int32 value representing the minimum integer allowed.
max
An System.Int32 value representing the maximum integer allowed.
Exceptions
ExceptionDescription
Throws if the value is out of range limit.
See Also